<div id="pagename">
    <h2 id="topic"><img src="/images/arrow_green.gif"/> Agenda </h2>
</div>

<div id="courseItemGlobalNav">
    <img src="/images/download.gif"/><%= link_to "Novo", :controller => "agendas", :action => "new" %>  
    
</div>


<div id="subtopic">
<table width=200>
  <tr bgcolor="#cccccc">
    <th>Data Inicial</th>
    <th>Data Final</th>
    <th>Descrição</th>   
  </tr>
    

<% for agenda in @agendas %>
  <tr>
    <td><%=h agenda.data_inicial %></td>
    <td><%=h agenda.data_final %></td>
    <td><%=h agenda.descricao %></td>
    <td><a  href="/agendas/<%=agenda.id%>"><img id="imageLink" src="/images/search.gif"/></a> </td>
  </tr>
<% end %>
</table>
</div>
